package com.itheima.controller;

import com.itheima.pojo.Account;
import com.itheima.service.AccountService;

public class AccountController {
    private AccountService accountService;
    //保存
    public void save(Account account) {
        accountService.save(account);
    }
    //为AccountService赋值
    public void setAccountService(AccountService accountService) {
        this.accountService = accountService;
    }
}
